function NH = nextHopeNode(DBSND, neighborsOfTheSender)
    
    NH = 0;
    s1 = DBSND(1);
    k = length(DBSND);
    post = 1;
    for i = 2:k
      s2  = DBSND(i);
      if s2 < s1
          post = i;
          s1 = s2;          
      end;
      
    end;    
        NH = neighborsOfTheSender(post);
end